﻿using Ozone.ShareData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ozone.Models
{
    public  class Process1Model: DataDelegateCenter
    {
        public event ReadDataHandlerProcess ReadDataP1Event;
        //public string sTag;
        //public string sValue;
        ////Tag：其中原料1-8为1-8
        //public string sTagVolumeA { get; set; } = "lbVolumeA";
        //public string sTagVolumeB { get; set; } = "lbVolumeB";
        //public string sTaglbSpeedStir { get; set; } = "lbSpeedStir";
        //public string sTaglbTempratureHeating { get; set; } = "lbTempratureHeating";

        //public string Tag
        //{
        //    get { return sTag; }
        //    set
        //    {
        //        sTag = value;
        //        if(ReadDataP1Event!=null)
        //            ReadDataP1Event(sTag, sValue);
        //    }
        //}
        public Process1Model(List<string> RM)
        {
            if(RM.Count == 8)
            {
                RawMaterials = RM;
            }
        }
        public List<string> RawMaterials;
        //public string RawMaterials1 {  get; set; }
        //public string RawMaterials2 {  get; set; }
        //public string RawMaterials3 {  get; set; }
        //public string RawMaterials4 {  get; set; }
        //public string RawMaterials5 {  get; set; }
        //public string RawMaterials6 {  get; set; }
        //public string RawMaterials7 {  get; set; }
        //public string RawMaterials8 {  get; set; }
    }
    public class RawMaterialsModel
    {

    }
}
